import sbt._
import java.net.URLClassLoader
import Keys._
import play.Project._


object ApplicationBuild extends Build {

  val appName = "el-profe"
  val appVersion = "1.0-SNAPSHOT"

  val appDependencies = Seq(
    // Add your project dependencies here,
    javaCore,
    javaJdbc,
    //javaEbean,
    javaJpa,
    "org.eclipse.persistence" % "eclipselink" % "2.5.0",
    "postgresql" % "postgresql" % "9.1-901.jdbc4",
    //"com.typesafe" %% "play-plugins-mailer" % "2.1.0",
    //"org.apache.poi" % "poi" % "3.7",
    //"org.st-js" % "shared" % "3.0.1",
    //"org.st-js" % "js-lib" % "1.4.0" //"org.jscala" %% "jscala-macros" % "0.3",
    //"org.reflections" % "reflections" % "0.9.9-RC1",
    "com.lowagie" % "itext" % "2.1.7", "net.sf.jasperreports" % "jasperreports" % "5.5.1")

  import com.typesafe.sbteclipse.core._
  import com.typesafe.sbteclipse.core.EclipsePlugin._
  import scala.xml.transform.RewriteRule
  val main = play.Project(appName, appVersion, appDependencies).settings( // Add your own project settings here
    EclipseKeys.projectFlavor := EclipseProjectFlavor.Scala,
    EclipseKeys.projectTransformerFactories := Seq[EclipseTransformerFactory[RewriteRule]]())
}
